package com.rdc.example.bean.dto;

import java.time.LocalDateTime;

/**
 * @author duck
 */
public class FollowDTO {

    private Integer         id;
    private Integer         followerId;
    private Integer         followedId;
    private String          followerName;
    private String          followedName;
    private LocalDateTime   createdAt;

    public FollowDTO(Integer id, Integer followerId, Integer followedId, String followerName, String followedName, LocalDateTime createdAt) {
        this.id = id;
        this.followerId = followerId;
        this.followedId = followedId;
        this.followerName = followerName;
        this.followedName = followedName;
        this.createdAt = createdAt;
    }

    public FollowDTO() {

    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFollowerId() {
        return followerId;
    }

    public void setFollowerId(Integer followerId) {
        this.followerId = followerId;
    }

    public Integer getFollowedId() {
        return followedId;
    }

    public void setFollowedId(Integer followedId) {
        this.followedId = followedId;
    }

    public String getFollowerName() {
        return followerName;
    }

    public void setFollowerName(String followerName) {
        this.followerName = followerName;
    }

    public String getFollowedName() {
        return followedName;
    }

    public void setFollowedName(String followedName) {
        this.followedName = followedName;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "FollowDTO{" +
                "id=" + id +
                ", followerId=" + followerId +
                ", followedId=" + followedId +
                ", followerName='" + followerName + '\'' +
                ", followedName='" + followedName + '\'' +
                ", createdAt=" + createdAt +
                '}';
    }
}
